package com.qf.xiaomi.service;

import com.qf.xiaomi.pojo.CartUnion;

import java.util.List;

/**
 * @Created by 马英超 on 2022/8/18 17:30
 * @author： 马英超
 * @version：v1.0
 * @description:
 */
public interface CartService {
    //处理购物车业务
    boolean dealCart(String productId,String productNum,int uid );
    //查询购物车
    List<CartUnion> queryCart(String uid);
    //删除购物车
    int deleteCart(String cid,String uid);
   //清空购物车
    boolean clearCart(int uid);
}
